package com.chinapost.vo;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

public class User implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/*
	 * 接收一组id，用于批量修改用户信息
	 */
	private String ids;
	private String cid;
	/**
	 * 用户中文名
	 */
	private String cname;
	/**
	 * 用户编号
	 */
	private String cbh;
	/*
	 * 用户登录次数
	 */
	private Integer clogin;
	/*
	 * 用户状态：1--启用,0--停用
	 */
	private Integer cstate;
	/*
	 * 登录失败原因：1--用户名不存在 2--密码错误 3--账号被锁定停用
	 */
	private Integer error;
	/*
	 * 登录是否成功
	 */
	private boolean success;
	// 用户单位id
	private String deptid;
	private String deptname;

	/**
	 * 员工类别 --合同工 ，劳务工
	 */
	private Integer yglbid;
	private String yglbname;

	/**
	 * 用户所在机构所拥有的下级机构ID集合
	 */
	private List<String> deptIds;
	/**
	 * 用户拥有的所有角色
	 */
	private String roleIds;
	private String roleNames;
	/**
	 * 用户能访问的所有资源
	 */
	private String resourceUrls;
	private String cpwd;
	private String cpwd2;
	private String newpwd;
	private String verifyCode;
	private Integer ckind;
	private Timestamp ccreatedate;
	private Timestamp cmodifydate;
	/**
	 * 最后登录时间
	 */
	private Timestamp clastlogin;

	/**
	 * 上传用户文件名
	 */
	private String filename;

	private int page;// 当前页
	private int rows;// 每页显示记录数
	private String sort;// 排序字段名
	private String order;// 按什么排序(asc,desc)

	
	
	
	public Integer getCkind() {
		return ckind;
	}

	public void setCkind(Integer ckind) {
		this.ckind = ckind;
	}

	public Integer getYglbid() {
		return yglbid;
	}

	public void setYglbid(Integer yglbid) {
		this.yglbid = yglbid;
	}

	public String getYglbname() {
		return yglbname;
	}

	public void setYglbname(String yglbname) {
		this.yglbname = yglbname;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public String getCbh() {
		return cbh;
	}

	public void setCbh(String cbh) {
		this.cbh = cbh;
	}

	public List<String> getDeptIds() {
		return deptIds;
	}

	public void setDeptIds(List<String> deptIds) {
		this.deptIds = deptIds;
	}

	public String getResourceUrls() {
		return resourceUrls;
	}

	public void setResourceUrls(String resourceUrls) {
		this.resourceUrls = resourceUrls;
	}

	public Integer getError() {
		return error;
	}

	public void setError(Integer error) {
		this.error = error;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}

	public String getRoleNames() {
		return roleNames;
	}

	public void setRoleNames(String roleNames) {
		this.roleNames = roleNames;
	}

	public String getCpwd2() {
		return cpwd2;
	}

	public void setCpwd2(String cpwd2) {
		this.cpwd2 = cpwd2;
	}

	public Integer getCstate() {
		return cstate;
	}

	public void setCstate(Integer cstate) {
		this.cstate = cstate;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getDeptid() {
		return deptid;
	}

	public void setDeptid(String deptid) {
		this.deptid = deptid;
	}

	public String getDeptname() {
		return deptname;
	}

	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}

	public String getVerifyCode() {
		return verifyCode;
	}

	public void setVerifyCode(String verifyCode) {
		this.verifyCode = verifyCode;
	}

	public String getNewpwd() {
		return newpwd;
	}

	public void setNewpwd(String newpwd) {
		this.newpwd = newpwd;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getCpwd() {
		return cpwd;
	}

	public void setCpwd(String cpwd) {
		this.cpwd = cpwd;
	}

	public Timestamp getCcreatedate() {
		return ccreatedate;
	}

	public void setCcreatedate(Timestamp ccreatedate) {
		this.ccreatedate = ccreatedate;
	}

	public Timestamp getCmodifydate() {
		return cmodifydate;
	}

	public void setCmodifydate(Timestamp cmodifydate) {
		this.cmodifydate = cmodifydate;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public Integer getClogin() {
		return clogin;
	}

	public void setClogin(Integer clogin) {
		this.clogin = clogin;
	}

	public Timestamp getClastlogin() {
		return clastlogin;
	}

	public void setClastlogin(Timestamp clastlogin) {
		this.clastlogin = clastlogin;
	}

}
